﻿using System;
using System.Collections;
using System.Data;
using CE.Database;

/// <summary>
/// Summary description for TAAcePromoDB
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class TAAcePromoDB
    {
        public TAAcePromoDB()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public Int64 Insert(string FullName, string Email, string Mobile)
        {
            MyDatabase _db = new MyDatabase();
            Int64 _result = -1;
            string _spName = "sprocProviderInsertSingleItem";

            SortedList _sPara = new SortedList();
            #region Parameter
            _sPara.Add("@FullName", FullName);
            _sPara.Add("@Email", Email);
            _sPara.Add("@Mobile", Mobile);
            #endregion

            _result = _db.ExecuteSP(_spName, _sPara);

            return _result;
        }

    }
}
